<!-- 注册领红包 -->
<template>
  <div>
    <div class="hb_entire">
      <div class="hb_background"><img src="@/assets/images/banner1.jpg" alt="" title=""></div>
      <div class="hb_top">
        <div class="hb_bj"><img src="@/assets/images/icon_01_01.png" alt="" title=""></div>
        <div class="hb_zi">
          <div class="sort1">319<span>元</span></div>
          <div class="sort2">恭喜您获得蜂蜜</div>
          <div class="sort2">注册领取</div>
        </div>
      </div>
      <div class="hb_content">
        <div class="hb_bj"><img src="@/assets/images/icon_01_02.png" alt="" title=""></div>
        <div class="hb_zi" @click="goto">
          <div class="sort3" id="get_welfare"><a>领</a></div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import request from '../utils'
export default {
  data () {
    return {
      sharerId: this.$route.query.sharerId
    }
  },
  methods: {
    goto () {
      const server = request.server
      window.location.href = `${server}/web/auth?sharerId=${this.sharerId}`
    }
  },
  mounted () {

  }
}
</script>
<style scoped>
.hb_entire {
  max-width: 1024px;
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background-color: #feee49;
}
.hb_background {
  width: 100%;
}
.hb_background img {
  width: 100%;
}
img {
  margin: 0;
  padding: 0;
  border: 0;
}
.hb_top {
  overflow: hidden;
  position: relative;
  margin-top: -19%;
}
.hb_bj {
  margin: 0 12%;
}
.hb_bj img {
  width: 100%;
}
.hb_top .hb_zi {
  position: absolute;
  bottom: 16%;
  text-align: center;
  width: 76%;
  margin: 0 12%;
}
.hb_top .hb_zi .sort1 {
  font-size: 45px;
  color: #fdcb2e;
  font-weight: bold;
  line-height: 45px;
  height: 45px;
  margin-bottom: 6%;
}
.hb_top .hb_zi .sort1 span {
  color: #fff;
  font-size: 30px;
  margin-left: 20px;
}
.hb_top .hb_zi .sort2 {
  font-size: 30px;
  line-height: 45px;
  height: 45px;
  color: #fff;
}
.hb_top .hb_zi .sort2 {
  font-size: 30px;
  line-height: 45px;
  height: 45px;
  color: #fff;
}
.hb_content {
  overflow: hidden;
  position: relative;
  margin-top: -2%;
}
.hb_content .hb_zi {
  position: absolute;
  bottom: 41%;
  text-align: center;
  width: 76%;
  margin: 0 12%;
}
.hb_content .hb_zi .sort3 {
  font-size: 42px;
  color: #e22918;
  font-weight: bold;
  margin-bottom: 8%;
}
.sort3 a {
  text-decoration: none;
  color: #e22918;
}
</style>